diff options
| author | Kimdonghan <dh32110@gmail.com> | 2025-12-03 18:27:43 +0900 |
|---|---|---|
| committer | Kimdonghan <dh32110@gmail.com> | 2025-12-03 18:27:43 +0900 |
| commit | 2f02e9ea125c3ec42afac84ec903767930335dd3 (patch) | |
| tree | 70f8e0ee57f868d29e7a338db49c5cf228468376 /app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx | |
| parent | 7b2718ba47b69ed4b1bf20977cebe93393191839 (diff) | |
(김동한) 메뉴명과 화면 내 h태그 일치 작업
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx index 8a652690..c82f6b5a 100644 --- a/app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx +++ b/app/[lng]/evcp/(evcp)/(master-data)/general-contract-template/page.tsx @@ -9,14 +9,18 @@ import { getContractTemplates } from "@/lib/general-contract-template/service" import { searchParamsTemplatesCache } from "@/lib/general-contract-template/validations" import { ContractTemplateTable } from "@/lib/general-contract-template/template/general-contract-template" import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n" interface IndexPageProps { + params: Promise<{lng: string}> searchParams: Promise<SearchParams> } export default async function IndexPage(props: IndexPageProps) { const searchParams = await props.searchParams const search = searchParamsTemplatesCache.parse(searchParams) + const {lng} = await props.params + const {t} = await useTranslation(lng, 'menu') const validFilters = getValidFilters(search.filters) @@ -34,12 +38,12 @@ export default async function IndexPage(props: IndexPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 일반계약(Contract) 표준양식 관리 + {t('menu.master_data.general_contract_template')} </h2> <InformationButton pagePath="evcp/general-contract-template" /> </div> <p className="text-muted-foreground mt-2"> - 다양한 계약 유형의 표준양식을 관리합니다. LO, FA, PO, CS, EU 등 계약 종류별 템플릿을 등록하고 편집할 수 있습니다. + {t('menu.master_data.general_contract_template_desc')} </p> </div> </div> |
